package net.huashitong.user.entity;

import com.sirdc.modules.core.entity.StringEntity;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: ling
 * Date: 2019/7/9
 * Time: 10:57
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Entity
@Table(name = "t_message")
@DynamicUpdate//动态更新
@DynamicInsert//动态插入
public class Message extends StringEntity {
    private String userId;  //用户id

//    private String
}
